package moni;

public class Test {

    public String findStr(int num) {

        StringBuilder sb = new StringBuilder();
        while (num > 0) {
            num -= 1;
            int remain = num % 26;
            sb.append((char) ('A' + remain));
            num /= 26;

        }
        sb.reverse();
        return sb.toString();

    }




    public static void main(String[] args) {

        StringBuilder sb = new StringBuilder();
        sb.append((char) ('A' + 1));

        System.out.println(700 / 26);
        System.out.println(sb);

        Test test = new Test();
        System.out.println(test.findStr(701));


    }

}
